﻿using System;
using System.Runtime.Serialization;
using Invoicing.Model.Financial;
namespace Invoicing.Model.Orders
{
    [DataContract]
    public class PaidOrderDetailModel:MBase
    {
        [Model(ConvertType = AttributeType.IgnoreUpdate)]
        [DataMember]
        public int ID { get; set; }
        [Model]
        [DataMember]
        public int OID { get; set; }
        [Model]
        [DataMember]
        public int BankID { get; set; }
        [Model]
        [DataMember]
        public decimal Money { get; set; }

        #region Help
        [DataMember]
        public BankModel Bank { get; set; }
        #endregion
    }

    [DataContract]
    public class PaidOrderDetailCollection : ModelCollectionBase<PaidOrderDetailModel> { }
}
